/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import (reference) '../../../styles/variables.less';

.announcement-badge-container {
  position: absolute;
  top: -9px;
  left: 16px;
  background: @announcement-background-dark;
  border-radius: 4px;
  border: 1px solid @announcement-border;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  .announcement-badge {
    width: 14px;
    height: 14px;
    color: @announcement-border;
  }

  .announcement-text {
    margin-left: 4px;
    color: @announcement-border;
    font-size: 12px;
    font-weight: 700;
  }
}

.task-badge {
  position: absolute;
  left: 16px;
  top: -12px;
  padding: 0 8px;
  background: #f1edfd;
  border: 1px solid #c6b5f6;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  color: @primary-color;
  font-size: 12px;
}
